home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _33E4AD66FFDF4F2CBF61226C49E39A8D < prev    next >
Encoding:
Text File  |  2004-01-06  |  6.5 KB  |  293 lines

  1.  
  2. -- class definition for class based mods
  3. --
  4. -- this info is used in GameRuleClassLib.lua and in the in game menu
  5.  
  6. local MCD_Scale=1.4;
  7.  
  8. MultiplayerClassDefiniton=
  9. {
  10.     PlayerClasses={            -- for class based mods
  11.     
  12.         Grunt=
  13.         {
  14.             model="Objects/characters/mercenaries/Merc_cover/merc_cover_MP.cgf",
  15.             health        = 130,
  16.             armor            = 50,
  17.             max_armor    = 50,
  18.             weapon1={"Machete",},
  19.             weapon2={"DE",},
  20.             weapon3={"P90","Pancor",},
  21.             weapon4={"AG36","OICW","M249",},
  22.             primaryWeaponSlot=4,
  23.             
  24.             grenades="HandGrenade",
  25.  
  26.             items = {
  27.                 --"PickupHeatVisionGoggles",
  28.             },
  29.     
  30.             move_params = {
  31.                 speed_run=MCD_Scale*4.2,
  32.                 speed_walk=MCD_Scale*3.0,
  33.                 speed_swim=MCD_Scale*6.5,
  34.                 speed_crouch=MCD_Scale*1.6,
  35.                 speed_prone=MCD_Scale*0.6,
  36.                 jump_force=3.3,
  37.                 lean_angle=7.5,
  38.                 bob_pitch=0.015,
  39.                 bob_roll=0.035,
  40.                 bob_lenght=5.5*MCD_Scale,
  41.                 bob_weapon=0.005/MCD_Scale,
  42.             },
  43.             
  44.             StaminaTable = {
  45.                 sprintScale    = 1.4,
  46.                 sprintSwimScale = 1.4,
  47.                 decoyRun    = 30,
  48.                 decoyJump    = 10,
  49.                 restoreRun    = 1.5,
  50.                 restoreWalk    = 8,
  51.                 restoreIdle    = 10,
  52.         
  53.                 breathDecoyUnderwater    = 15,
  54.                 breathDecoyAim        = 10,
  55.                 breathRestore        = 80,
  56.             },
  57.             
  58.             InitialAmmo=
  59.             {
  60.                 Pistol=90,                -- DE
  61.                 Shotgun=30,                -- Pancor
  62.                 SMG=150,                    -- P90
  63.                 Assault=200,            -- M4,OICW,AG36
  64.                 HandGrenade=2,        -- HandGrenade
  65.                 AG36Grenade=3,        -- AG36 second firemod
  66.                 OICWGrenade=3,        -- OICW second firemod
  67.             },
  68.             AmmoPickup=
  69.             {
  70.                 Pistol=45,                -- DE
  71.                 Shotgun=30,                -- Pancor
  72.                 SMG=100,                    -- P90
  73.                 Assault=125,            -- M4,OICW,AG36
  74.                 HandGrenade=2,        -- HandGrenade
  75.                 AG36Grenade=2,        -- AG36 second firemod
  76.                 OICWGrenade=2,        -- OICW second firemod
  77.             },
  78.             DropAmmoPickup=
  79.             {
  80.                 Pistol=25,                -- DE
  81.                 Shotgun=15,                -- Pancor
  82.                 SMG=75,                        -- P90
  83.                 Assault=100,            -- M4,OICW,AG36
  84.                 HandGrenade=0,        -- HandGrenade
  85.                 AG36Grenade=1,        -- AG36 second firemod
  86.                 OICWGrenade=1,        -- OICW second firemod
  87.             },
  88.             MaxAmmo=
  89.             {
  90.                 Pistol=90,                -- DE
  91.                 Shotgun=50,                -- Pancor
  92.                 SMG=200,                    -- P90
  93.                 Assault=250,            -- M4,OICW,AG36
  94.                 HandGrenade=5,        -- HandGrenade
  95.                 AG36Grenade=3,        -- AG36 second firemod
  96.                 OICWGrenade=3,        -- OICW second firemod
  97.             },
  98.         },
  99.         
  100.         Sniper=
  101.         {
  102.             model="Objects/characters/mercenaries/merc_sniper/merc_sniper_MP.cgf",
  103.             health        =    130,
  104.             armor            =    12,
  105.             max_armor    = 12,
  106.             weapon1={"Machete",},
  107.             weapon2={"DE",},
  108.             weapon3={"AW50","RL",},
  109.             weapon4={},
  110.             primaryWeaponSlot=3,
  111.             grenades="SmokeGrenade",
  112.             
  113.             items = {
  114.                 "PickupBinoculars",
  115.                 --"PickupHeatVisionGoggles",
  116.             },
  117.             
  118.             move_params = {
  119.                 speed_run=MCD_Scale*4.2,
  120.                 speed_walk=MCD_Scale*3.3,
  121.                 speed_swim=MCD_Scale*6.5,
  122.                 speed_crouch=MCD_Scale*1.6,
  123.                 speed_prone=MCD_Scale*0.6,
  124.                 jump_force=4.3,
  125.                 lean_angle=7.5,
  126.                 bob_pitch=0.015,
  127.                 bob_roll=0.035,
  128.                 bob_lenght=5.5*MCD_Scale,
  129.                 bob_weapon=0.005/MCD_Scale,
  130.             },
  131.     
  132.             StaminaTable = {
  133.                 sprintScale    = 1.5,
  134.                 sprintSwimScale = 1.5,
  135.                 decoyRun    = 35,
  136.                 decoyJump    = 10,
  137.                 restoreRun    = 2,
  138.                 restoreWalk    = 10,
  139.                 restoreIdle    = 12,
  140.         
  141.                 breathDecoyUnderwater    = 15,
  142.                 breathDecoyAim        = 10,
  143.                 breathRestore        = 80,
  144.             },
  145.             InitialAmmo=
  146.             {
  147.                 Pistol=90,                -- DE
  148.                 Rocket= 10,                -- RL
  149.                 Sniper= 20,                -- AW50
  150.                 SmokeGrenade=1,        -- SmokeGrenade
  151.             },
  152.             AmmoPickup=
  153.             {
  154.                 Pistol=45,                -- DE
  155.                 Rocket= 5,                -- RL
  156.                 Sniper=10,                -- AW50
  157.                 SmokeGrenade=1,        -- SmokeGrenade
  158.             },
  159.             DropAmmoPickup=
  160.             {
  161.                 Pistol=45,                -- DE
  162.                 Rocket= 5,                -- RL
  163.                 Sniper= 10,                -- AW50
  164.                 SmokeGrenade=0,        -- SmokeGrenade
  165.             },
  166.             MaxAmmo=
  167.             {
  168.                 Pistol=90,                -- DE
  169.                 Rocket=10,                -- RL
  170.                 Sniper=30,                -- AW50
  171.                 SmokeGrenade=2,        -- SmokeGrenade
  172.             },
  173.         },
  174.         
  175.         Support=
  176.         {
  177.             model="Objects/characters/workers/evil_worker/evil_worker_MP.cgf",
  178.             health        = 225,
  179.             armor            = 25,
  180.             max_armor    = 25,
  181.             weapon1={"M4",},            -- melee attack
  182.             weapon2={"MedicTool", "MP5",},
  183.             weapon3={"ScoutTool",},
  184.             weapon4={"EngineerTool", },    -- Wrench building and repairing / scouttool for blowing things up
  185.             primaryWeaponSlot=1,
  186.             grenades="SmokeGrenade",
  187.  
  188.             items = {
  189.                 --"PickupHeatVisionGoggles",
  190.             },
  191.             
  192.             move_params = {
  193.                 speed_run=MCD_Scale*4.75,
  194.                 speed_walk=MCD_Scale*3.5,
  195.                 speed_swim=MCD_Scale*6.5,
  196.                 speed_crouch=MCD_Scale*1.6,
  197.                 speed_prone=MCD_Scale*0.6,
  198.                 jump_force=4.3,
  199.                 lean_angle=7.5,
  200.                 bob_pitch=0.015,
  201.                 bob_roll=0.035,
  202.                 bob_lenght=5.5*MCD_Scale,
  203.                 bob_weapon=0.005/MCD_Scale,
  204.             },
  205.     
  206.             StaminaTable = {
  207.                 sprintScale    = 1.5,
  208.                 sprintSwimScale = 1.5,
  209.                 decoyRun    = 25,
  210.                 decoyJump    = 10,
  211.                 restoreRun    = 2,
  212.                 restoreWalk    = 8,
  213.                 restoreIdle    = 10,
  214.         
  215.                 breathDecoyUnderwater    = 15,
  216.                 breathDecoyAim        = 10,
  217.                 breathRestore        = 80,
  218.             },
  219.             InitialAmmo=
  220.             {
  221.                 Pistol=90,                -- DE
  222.                 Assault=200,                -- Pancor
  223.                 HealthPack=3,            -- MedicTool
  224.                 SMG=175,
  225.                 SmokeGrenade=1,        -- SmokeGrenade    
  226.                 StickyExplosive=3,-- ScoutTool        
  227.             },
  228.             AmmoPickup=
  229.             {
  230.                 Pistol=45,                -- DE
  231.                 Assault=50,                -- Pancor
  232.                 HealthPack=2,            -- MedicTool
  233.                 SMG=100,
  234.                 SmokeGrenade=1,        -- SmokeGrenade    
  235.                 StickyExplosive=3,-- ScoutTool        
  236.             },
  237.             DropAmmoPickup=
  238.             {
  239.                 Pistol=30,                -- DE
  240.                 Assault=50,                -- Pancor
  241.                 HealthPack=2,            -- MedicTool
  242.                 SMG=60,
  243.                 SmokeGrenade=0,        -- SmokeGrenade    
  244.                 StickyExplosive=0,-- ScoutTool        
  245.             },
  246.             MaxAmmo=
  247.             {
  248.                 Pistol=90,                -- DE
  249.                 Assault=250,                -- Pancor
  250.                 HealthPack=6,        -- MedicTool
  251.                 SMG=250,
  252.                 SmokeGrenade=2,        -- SmokeGrenade    
  253.                 StickyExplosive=3,-- ScoutTool        
  254.             },
  255.         },
  256.     },
  257.     -----------------------------------------------------------------
  258.  
  259.     DefaultMultiPlayer=                -- team or non team mods
  260.     {
  261.         health        = 130,             -- range: 0=dead .. 255=full health
  262.         armor            = 0,
  263.         max_armor    = 100,
  264.  
  265.         move_params = {
  266.             speed_run=MCD_Scale*4.5,
  267.             speed_walk=MCD_Scale*3.5,
  268.             speed_swim=MCD_Scale*6.5,
  269.             speed_crouch=MCD_Scale*1.6,
  270.       speed_prone=MCD_Scale*0.6,
  271.             jump_force=MCD_Scale*66.3,
  272.             lean_angle=7.5,
  273.             bob_pitch=0.015,
  274.             bob_roll=0.035,
  275.             bob_lenght=5.5*MCD_Scale,
  276.             bob_weapon=0.005/MCD_Scale,
  277.         },
  278.         
  279.         StaminaTable = {
  280.             sprintScale    = 1.4,
  281.             sprintSwimScale = 1.4,
  282.             decoyRun    = 30,
  283.             decoyJump    = 10,
  284.             restoreRun    = 1.5,
  285.             restoreWalk    = 8,
  286.             restoreIdle    = 10,
  287.     
  288.             breathDecoyUnderwater    = 2.8,
  289.             breathDecoyAim        = 10,
  290.             breathRestore        = 80,
  291.         },
  292.     },
  293. };